package io.renren.modules.quickService.service;

import com.baomidou.mybatisplus.service.IService;
import io.renren.common.utils.PageUtils;
import io.renren.modules.quickService.entity.UserRightEntity;

import java.util.List;
import java.util.Map;

/**
 * 用户权限
 *
 * @author zenger380
 * @email zenger380@163.com
 * @date 2018-11-22 18:03:49
 */
public interface UserRightService extends IService<UserRightEntity> {

    PageUtils queryPage(Map<String, Object> params);

    List<UserRightEntity> getRightList(Long userId);

    void insertOrUpdateUserRight(Long userId, String[] rightList);

    void insertOrUpdateUserRight(UserRightEntity userRightEntity);
}

